package com.xw.class01;

/**
 * @author: xw
 * @create: 2022/8/4 14:48
 * @description: 找到最右侧的1
 */
public class Title03RightOne {
    public void rightOne(int num){
        System.out.println(num & (-num));
    }
}
